﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="View_TextBox1.aspx.cs" Inherits="AFCEPF.Samples.WebSamples.Controls2.View_TextBox1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 204px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h3>
        Utilisation des controles TextBox
    </h3>
    <p>
    Voici quelques exemples de formatage de TextBox.
    </p>
    <table class="style1">
        <tr>
            <td class="style2">
                <asp:Label ID="Label1" runat="server" Text="Une TextBox basique"></asp:Label>
            </td>
            <td>
<asp:TextBox id="tb1" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Label ID="Label2" runat="server" 
                    Text="Une TextBox avec TextMode = Password"></asp:Label>
            </td>
            <td>
<asp:TextBox id="tb2" TextMode="password" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Label ID="Label3" runat="server" Text="Une TextBox MultiLine"></asp:Label>
            </td>
            <td>
<asp:TextBox id="tb3" TextMode="multiline" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Label ID="Label5" runat="server" Text="Une TextBox avec une largeur spécifiée."></asp:Label>
            </td>
            <td>
<asp:TextBox id="tb5" columns="30" runat="server" />

            </td>
        </tr>
        <tr>
            <td class="style2">
                <asp:Label ID="Label6" runat="server" 
                    Text="Une TextBox avec Largeur et Hauteur"></asp:Label>
            </td>
            <td>
<asp:TextBox id="tb6" rows="5" TextMode="multiline"
runat="server" />
            </td>
        </tr>
    </table>

    


</asp:Content>
